package com.baizhi.mall.service;

import com.baizhi.mall.entity.mysql.BzRoleResourceDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhw
 * @since 2021-05-17
 */
public interface IBzRoleResourceService extends IService<BzRoleResourceDO> {
    //查全部
    List<BzRoleResourceDO> selectAll();
    //删除
    void deleteByRole(Integer roleId);
    //添加
    void insert(BzRoleResourceDO roleResource);
    //
    List<BzRoleResourceDO> selectByRole(Integer roleId);
}
